﻿using System;
using Dapper.Extensions;

namespace YouWei.Infrastructure.Entity
{
    /// <summary>
    /// 枚举类型
    /// </summary>
    [PrimaryKey("ID")]
    public class CommonEnum
    {

        ///<summary>
        ///主键
        ///</summary>
        [Column("ID", "主键")]
        public int ID { get; set; }

        /// <summary>
        /// 枚举类型
        /// </summary>
        [Column("EnumType", "枚举类型")]
        public string EnumType { set; get; }

        /// <summary>
        /// 字段名称
        /// </summary>
        [Column("EnumName", "字段名称")]
        public string EnumName { set; get; }

        /// <summary>
        /// 枚举值
        /// </summary>
        [Column("EnumField", "枚举值")]
        public string EnumField { set; get; }

        /// <summary>
        /// 描述
        /// </summary>
        [Column("EnumDesc", "描述")]
        public string EnumDesc { set; get; }

    }
}
